import dva from 'dva';
import models from './models'
import _ from 'lodash';
import './index.css';

const app = dva();
_.map(models, model => app.model(model));
app.router(require('./router').default);
app.start('#root');